import Vue from 'vue'
import App from './App'
import router from './router'
import store from './store'
import common from '@/assets/js/common.js'

// 运用公共函数
Vue.use(common)

// import FastClick from 'fastclick'
import { ToastPlugin, AlertPlugin, ConfirmPlugin, LoadingPlugin, DatetimePlugin } from 'vux'
// import Calendar from 'vue-mobile-calendar'
// Vue.use(Calendar)
Vue.use(ToastPlugin)
Vue.use(AlertPlugin)
Vue.use(ConfirmPlugin)
Vue.use(LoadingPlugin)
Vue.use(DatetimePlugin)
// FastClick.attach(document.body)
// require('es6-promise').polyfill()
import './util/rem'
import './mixins/install'
Vue.config.productionTip = false


import "./filter/filter"
import './filter/directive'
import '@/assets/css/public.css';
import '@/assets/css/index_app.css'

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  components: { App },
  template: '<App/>'
})
